package com.demo.scenic.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 *
 * @author user
 * @date 2023/04/23 20:15:37
 */
@ApiModel(value="可预约时间段")
@Data
public class TimePeriod {
    /**
     * 
     */
    @ApiModelProperty(value="id")
    private Integer id;

    /**
     * 景区id
     */
    @ApiModelProperty(value="scenicId景区id")
    private Integer scenicId;

    /**
     * 可预约时间段
     */
    @ApiModelProperty(value="timePeriod可预约时间段")
    private String timePeriod;

    /**
     * 
     */
    @ApiModelProperty(value="createdTime")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    /**
     * 
     */
    @ApiModelProperty(value="updatedTime")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatedTime;
}